package com.zlzxm.studentscreen.net.websocket;


import org.java_websocket.handshake.ServerHandshake;

/**
 * Created by zlz
 * on  11/18/20
 */
public interface ClassRoomListener {

    //socket 回调

    void onWebSocketOpen(ServerHandshake handShakeData);

    void onWebSocketClose(int code, String reason, boolean remote);

    void onWebSocketError(Exception ex);


    //消息回调

    void onMessage(String msg);



}